Interface PaddingInterface

Summary

Fully Qualified Name: Laminas\Crypt\Symmetric\Padding\PaddingInterface

Description

Methods

Name Description Defined By
pad() Pad the string to the specified size PaddingInterface
strip() Strip the padding from the supplied string PaddingInterface

Method Details

pad()

Pad the string to the specified size

Parameter Name Type Description
$string string The
$blockSize int The

Returns: string The padded string

strip()

Strip the padding from the supplied string

Parameter Name Type Description
$string string The

Returns: string The unpadded string

Top